﻿using System.Collections.Generic;
using System.Threading.Tasks;

namespace Red.Controls.Diagrams
{
    public interface IProperty
    {
        string Name { get; }
        string ID { get; }
        Dictionary<string, string> Values { get; }
        string GetType();
        bool IsCompatibleWith( IProperty otherProperty );
        Task<bool> IsCompatibleWithAsync( IProperty otherProperty );
        bool IsArray();
        bool IsObject();
        bool IsBinding();
    }
}
